<div class="row-fluid">
    <div class="span12">
        <?php
        echo Virgo::renderWidget('DGridView', array(
            'data' => $models,
            'head' => array(
                'icon' => 'icos-clipboard1',
                'title' => 'Все города',
                'buttons' => array()
            ),
            'fields' => array(
                'id' => array(
                    'title' => 'ID',
                    'htmlOptions' => array(
                        'style' => 'www',
                    ),
                ),
                'name' => array(
                    'title' => 'Название',
                ),
                'lat' => array(),
                'lng' => array(),
                'oreder' => array(
                    'title' => 'Порядок',
                ),
                'is_reg_center' => array(
                    'title' => 'Региональный центр',
                    'function' => 'isRegCenter()',
                ),
                'is_active' => array(
                    'title' => 'Активность',
                    'function' => 'isActive()',
                ),
                
            ),
            'buttons' => array(
                array(
                    'href' => 'settings/city/update',
                    'icon' => 'icon-pencil',
                ),
                array(
                    'href' => 'settings/city/delete',
                    'icon' => 'icon-trash',
                )
            )
        ));
        ?>
    </div>
</div>